<?php
	include "layout.php";
	head();
	if (!isset($_SESSION["oid"])) {
		header("Location: base.php");
	}
	if (!isset($_GET["id"])) {
		header("Location: cust.php");
	}
	$oid = $_SESSION["oid"];
	extract($_GET);
	mysql_query("DELETE FROM oa_items WHERE OAI_OrderAcc_ID = {$oid} AND OAI_Items_ID = {$id}");
	header("Location: cust.php");
	foot();
?>